< previous page page_429 next page >

Page 429
You can use similar methods to rotate around other axes to move a point into the YZ or XZ planes.
Inverse Transformations
As is the case in two dimensions, each of the simple three-dimensional transformations examined so far has a simple inverse. The inverse of a translation by distances Tx, Ty, and Tz is a translation by distances Tx, Ty, and Tz.
e10a6a0a59f035e870d90cca05b85fce.gif
 z0449-01.gif
The inverse of a scaling by factors Sx, Sy, and Sz is a scaling by factors 1/Sx, 1/Sy, and 1/Sz.
e10a6a0a59f035e870d90cca05b85fce.gif
 z0449-02.gif
Finally, the inverse of a rotation through angle q around an axis is a rotation through angle q around the same axis. An inverse rotation around the Z axis is given by the matrix:
e10a6a0a59f035e870d90cca05b85fce.gif
 z0449-03.gif
Because Cos(q) = Cos(q) and Sin(q) = Sin(q), you can simplify this to:
e10a6a0a59f035e870d90cca05b85fce.gif
 z0449-04.gif
Projections
Because your computer's screen is two dimensional, it cannot directly display three-dimensional objects. If you want to display three-dimensional objects on your two-dimensional screen, you must project the objects from three dimensions to two.
More generally, a projection translates an object's representation from one set of dimensions to another. The most common projections are from three to two dimensions,

 
< previous page page_429 next page >